import java.util.Arrays;

public class ArrayCompare {
    public static void main(String[] args) {
        int[] arr1={1,2,3};
        int[] arr2={1,2,3,4};
        boolean flg= Arrays.equals(arr1,arr2);
        System.out.println(flg);
    }
}
